package com.wx.pojo;
import java.io.Serializable;
import java.util.Date;

/**
 * @author gzcadmin
 *
 */
public class Source implements Serializable{

	private Integer sourceId;//服务id
	private String source_name;//服务名称
	private Integer source_count;//服务数量
	
	private String  source_image;//服务图片
	private String source_phone;//提供者电话
	private Double source_price;//服务价格
	
	private Double source_deposit;//服务押金
	private String source_text;//服务描述
	private String source_address;//服务地址
	
	private Date publish_time;//发布服务的时间
	private Integer sort_id;//发布的服务的类别
	private Integer category_id;//发布服务中的小类别
	
	private String province; //省
	private String city;     //市
	private String county;	 //县
	
	private String user_id;//发布者的id
	private Integer demend_or_idle;//发布的类型：0：发布共享    1：发布需求
	
	
	//服务信息默认上架
	private Integer source_status=0; //发布物品的上架与下架  0：代表上架  1：代表下架
	//服务信息默认不置顶
	private Integer source_top=1;   //发布物品信息置顶      0：代表置顶  1：代表物品按照平常顺序
	
	
	public Integer getSourceId() {
		return sourceId;
	}
	public void setSourceId(Integer sourceId) {
		this.sourceId = sourceId;
	}
	public String getSource_name() {
		return source_name;
	}
	public void setSource_name(String source_name) {
		this.source_name = source_name;
	}
	public Integer getSource_count() {
		return source_count;
	}
	public void setSource_count(Integer source_count) {
		this.source_count = source_count;
	}
	public String getSource_image() {
		return source_image;
	}
	public void setSource_image(String source_image) {
		this.source_image = source_image;
	}
	public String getSource_phone() {
		return source_phone;
	}
	public void setSource_phone(String source_phone) {
		this.source_phone = source_phone;
	}
	public Double getSource_price() {
		return source_price;
	}
	public void setSource_price(Double source_price) {
		this.source_price = source_price;
	}
	public Double getSource_deposit() {
		return source_deposit;
	}
	public void setSource_deposit(Double source_deposit) {
		this.source_deposit = source_deposit;
	}
	public String getSource_text() {
		return source_text;
	}
	public void setSource_text(String source_text) {
		this.source_text = source_text;
	}
	public String getSource_address() {
		return source_address;
	}
	public void setSource_address(String source_address) {
		this.source_address = source_address;
	}
	public Date getPublish_time() {
		return publish_time;
	}
	public void setPublish_time(Date publish_time) {
		this.publish_time = publish_time;
	}
	public Integer getSort_id() {
		return sort_id;
	}
	public void setSort_id(Integer sort_id) {
		this.sort_id = sort_id;
	}
	public Integer getCategory_id() {
		return category_id;
	}
	public void setCategory_id(Integer category_id) {
		this.category_id = category_id;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCounty() {
		return county;
	}
	public void setCounty(String county) {
		this.county = county;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	
	public Integer getDemend_or_idle() {
		return demend_or_idle;
	}
	public void setDemend_or_idle(Integer demend_or_idle) {
		this.demend_or_idle = demend_or_idle;
	}
	public Integer getSource_status() {
		return source_status;
	}
	public void setSource_status(Integer source_status) {
		this.source_status = source_status;
	}
	public Integer getSource_top() {
		return source_top;
	}
	public void setSource_top(Integer source_top) {
		this.source_top = source_top;
	}
	@Override
	public String toString() {
		return "Source [sourceId=" + sourceId + ", source_name=" + source_name + ", source_count=" + source_count
				+ ", source_image=" + source_image + ", source_phone=" + source_phone + ", source_price=" + source_price
				+ ", source_deposit=" + source_deposit + ", source_text=" + source_text + ", source_address="
				+ source_address + ", publish_time=" + publish_time + ", sort_id=" + sort_id + ", category_id="
				+ category_id + ", province=" + province + ", city=" + city + ", county=" + county + ", user_id="
				+ user_id + ", demend_or_idle=" + demend_or_idle + ", source_status=" + source_status + ", source_top="
				+ source_top + "]";
	}
	
	
	
}
